package com.example.javaffmpeg.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class DateUtils {
    public static String getFormDateToString(LocalDateTime time, String  formmat) {
        DateTimeFormatter dtf2 = DateTimeFormatter.ofPattern(formmat);
        String strDate2 = dtf2.format(time);
        return strDate2;
    }
}
